package com.mandao.concurrency;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;


/**
 * Description:  启动主类
 * @author woniu
 */
@SpringBootApplication
@Slf4j
//启动时忽略数据库连接配置
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
//@MapperScan mapper文件扫描

public class ConcurrencyApplication {

	public static void main(String[] args) {
		SpringApplication.run(ConcurrencyApplication.class, args);
		log.info("----------------------------concurrency started----------------------------");
	}

}
